<!--

生成最基本的Restful模板页面

顶部有按（门店、时间段*）查询 添加按钮

包含一个 ag-grid 列表，默认表头只有一行，每列都可查询，默认每条最后有打开、删除按钮

有新增、修改弹出层
-->

<div class="view-header">
    <div class="head-icon">
		<i class="fa fa-car"></i>
		<shop-picker shop="shop"></shop-picker>
    </div>

	<div class="head-icon">
		<i class="fa fa-calendar search-date-i"></i>
		<datetimepicker
				class="search-date-start" min-view="2"
						end-date="search_params.date_end"
						ng-model="search_params.date_start"></datetimepicker>
		~
		<datetimepicker
				class="search-date-end" min-view="2"
				start-date="search_params.date_start"
				ng-model="search_params.date_end"></datetimepicker>
	</div>
</div>
<div class="view-content ">
    <div ag-grid="grid" class="ag-blue ag-custom ag-custom-center" style="height :100%"></div>
</div>

<div class="data-overlay" ng-show="add_open">
    <div class="overlay-container">
        <div class="overlay-header">order_add</div>
        <div ng-form name="form_add" novalidate="novalidate">
            <div class="new-block" >
	<div class="new-item">
		<span>receipt_time</span>
		<input ng-model="record_add.receipt_time" />
	</div>
	<div class="new-item">
		<span>material_fee</span>
		<input ng-model="record_add.material_fee" />
	</div>
	<div class="new-item">
		<span>gross_profit</span>
		<input ng-model="record_add.gross_profit" />
	</div>
	<div class="new-item">
		<span>service_consultant</span>
		<input ng-model="record_add.service_consultant" />
	</div>
	<div class="new-item">
		<span>insurance_company</span>
		<input ng-model="record_add.insurance_company" />
	</div>
	<div class="new-item">
		<span>extra_deduction</span>
		<input ng-model="record_add.extra_deduction" />
	</div>
	<div class="new-item">
		<span>send_phone</span>
		<input ng-model="record_add.send_phone" />
	</div>
	<div class="new-item">
		<span>longka_deduction</span>
		<input ng-model="record_add.longka_deduction" />
	</div>
	<div class="new-item">
		<span>business_type</span>
		<input ng-model="record_add.business_type" />
	</div>
	<div class="new-item">
		<span>repair_type</span>
		<input ng-model="record_add.repair_type" />
	</div>
	<div class="new-item">
		<span>man_hour_fee</span>
		<input ng-model="record_add.man_hour_fee" />
	</div>
	<div class="new-item">
		<span>total_fee</span>
		<input ng-model="record_add.total_fee" />
	</div>
	<div class="new-item">
		<span>vin</span>
		<input ng-model="record_add.vin" />
	</div>
	<div class="new-item">
		<span>model</span>
		<input ng-model="record_add.model" />
	</div>
	<div class="new-item">
		<span>id</span>
		<input ng-model="record_add.id" />
	</div>
	<div class="new-item">
		<span>sn</span>
		<input ng-model="record_add.sn" />
	</div>
	<div class="new-item">
		<span>deal_fee</span>
		<input ng-model="record_add.deal_fee" />
	</div>
	<div class="new-item">
		<span>vehicle_id</span>
		<input ng-model="record_add.vehicle_id" />
	</div>
	<div class="new-item">
		<span>brand</span>
		<input ng-model="record_add.brand" />
	</div>
	<div class="new-item">
		<span>is_appointment</span>
		<input ng-model="record_add.is_appointment" />
	</div>
	<div class="new-item">
		<span>mileage</span>
		<input ng-model="record_add.mileage" />
	</div>
	<div class="new-item">
		<span>material_cost</span>
		<input ng-model="record_add.material_cost" />
	</div>
	<div class="new-item">
		<span>deposit_amount</span>
		<input ng-model="record_add.deposit_amount" />
	</div>
	<div class="new-item">
		<span>receipt_id</span>
		<input ng-model="record_add.receipt_id" />
	</div>
	<div class="new-item">
		<span>receipt_sn</span>
		<input ng-model="record_add.receipt_sn" />
	</div>
	<div class="new-item">
		<span>inspector</span>
		<input ng-model="record_add.inspector" />
	</div>
	<div class="new-item">
		<span>remission_amount</span>
		<input ng-model="record_add.remission_amount" />
	</div>
	<div class="new-item">
		<span>version</span>
		<input ng-model="record_add.version" />
	</div>
	<div class="new-item">
		<span>bill_time</span>
		<input ng-model="record_add.bill_time" />
	</div>
	<div class="new-item">
		<span>arrive_time</span>
		<input ng-model="record_add.arrive_time" />
	</div>
	<div class="new-item">
		<span>license_plate</span>
		<input ng-model="record_add.license_plate" />
	</div>
	<div class="new-item">
		<span>completed_time</span>
		<input ng-model="record_add.completed_time" />
	</div>
	<div class="new-item">
		<span>send_name</span>
		<input ng-model="record_add.send_name" />
	</div>
	<div class="new-item">
		<span>name</span>
		<input ng-model="record_add.name" />
	</div>
	<div class="new-item">
		<span>expected_complete_time</span>
		<input ng-model="record_add.expected_complete_time" />
	</div>
	<div class="new-item">
		<span>customer_id</span>
		<input ng-model="record_add.customer_id" />
	</div>
	<div class="new-item">
		<span>integral_deduction</span>
		<input ng-model="record_add.integral_deduction" />
	</div>
</div>

        </div>
    </div>
</div>

<div class="data-overlay" ng-show="edit_open">
    <div class="overlay-container">
        <div class="overlay-header">order_edit</div>
        <div ng-form name="form_edit" novalidate="novalidate">
            <div class="new-block" >
	<div class="new-item">
		<span>receipt_time</span>
		<input ng-model="record_edit.receipt_time" />
	</div>
	<div class="new-item">
		<span>material_fee</span>
		<input ng-model="record_edit.material_fee" />
	</div>
	<div class="new-item">
		<span>gross_profit</span>
		<input ng-model="record_edit.gross_profit" />
	</div>
	<div class="new-item">
		<span>service_consultant</span>
		<input ng-model="record_edit.service_consultant" />
	</div>
	<div class="new-item">
		<span>insurance_company</span>
		<input ng-model="record_edit.insurance_company" />
	</div>
	<div class="new-item">
		<span>extra_deduction</span>
		<input ng-model="record_edit.extra_deduction" />
	</div>
	<div class="new-item">
		<span>send_phone</span>
		<input ng-model="record_edit.send_phone" />
	</div>
	<div class="new-item">
		<span>longka_deduction</span>
		<input ng-model="record_edit.longka_deduction" />
	</div>
	<div class="new-item">
		<span>business_type</span>
		<input ng-model="record_edit.business_type" />
	</div>
	<div class="new-item">
		<span>repair_type</span>
		<input ng-model="record_edit.repair_type" />
	</div>
	<div class="new-item">
		<span>man_hour_fee</span>
		<input ng-model="record_edit.man_hour_fee" />
	</div>
	<div class="new-item">
		<span>total_fee</span>
		<input ng-model="record_edit.total_fee" />
	</div>
	<div class="new-item">
		<span>vin</span>
		<input ng-model="record_edit.vin" />
	</div>
	<div class="new-item">
		<span>model</span>
		<input ng-model="record_edit.model" />
	</div>
	<div class="new-item">
		<span>id</span>
		<input ng-model="record_edit.id" />
	</div>
	<div class="new-item">
		<span>sn</span>
		<input ng-model="record_edit.sn" />
	</div>
	<div class="new-item">
		<span>deal_fee</span>
		<input ng-model="record_edit.deal_fee" />
	</div>
	<div class="new-item">
		<span>vehicle_id</span>
		<input ng-model="record_edit.vehicle_id" />
	</div>
	<div class="new-item">
		<span>brand</span>
		<input ng-model="record_edit.brand" />
	</div>
	<div class="new-item">
		<span>is_appointment</span>
		<input ng-model="record_edit.is_appointment" />
	</div>
	<div class="new-item">
		<span>mileage</span>
		<input ng-model="record_edit.mileage" />
	</div>
	<div class="new-item">
		<span>material_cost</span>
		<input ng-model="record_edit.material_cost" />
	</div>
	<div class="new-item">
		<span>deposit_amount</span>
		<input ng-model="record_edit.deposit_amount" />
	</div>
	<div class="new-item">
		<span>receipt_id</span>
		<input ng-model="record_edit.receipt_id" />
	</div>
	<div class="new-item">
		<span>receipt_sn</span>
		<input ng-model="record_edit.receipt_sn" />
	</div>
	<div class="new-item">
		<span>inspector</span>
		<input ng-model="record_edit.inspector" />
	</div>
	<div class="new-item">
		<span>remission_amount</span>
		<input ng-model="record_edit.remission_amount" />
	</div>
	<div class="new-item">
		<span>version</span>
		<input ng-model="record_edit.version" />
	</div>
	<div class="new-item">
		<span>bill_time</span>
		<input ng-model="record_edit.bill_time" />
	</div>
	<div class="new-item">
		<span>arrive_time</span>
		<input ng-model="record_edit.arrive_time" />
	</div>
	<div class="new-item">
		<span>license_plate</span>
		<input ng-model="record_edit.license_plate" />
	</div>
	<div class="new-item">
		<span>completed_time</span>
		<input ng-model="record_edit.completed_time" />
	</div>
	<div class="new-item">
		<span>send_name</span>
		<input ng-model="record_edit.send_name" />
	</div>
	<div class="new-item">
		<span>name</span>
		<input ng-model="record_edit.name" />
	</div>
	<div class="new-item">
		<span>expected_complete_time</span>
		<input ng-model="record_edit.expected_complete_time" />
	</div>
	<div class="new-item">
		<span>customer_id</span>
		<input ng-model="record_edit.customer_id" />
	</div>
	<div class="new-item">
		<span>integral_deduction</span>
		<input ng-model="record_edit.integral_deduction" />
	</div>
</div>

        </div>
    </div>
</div>